package com.knowledgegraph.zhongyao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.knowledgegraph.common.annotation.Excel;
import com.knowledgegraph.common.core.domain.BaseEntity;

/**
 * 药材类型对象 medicine_type
 * 
 * @author ruoyi
 * @date 2023-07-25
 */
public class MedicineType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private Long medicineTypeKey;

    /**  */
    @Excel(name = "")
    private String medicineTypeName;

    public void setMedicineTypeKey(Long medicineTypeKey) 
    {
        this.medicineTypeKey = medicineTypeKey;
    }

    public Long getMedicineTypeKey() 
    {
        return medicineTypeKey;
    }
    public void setMedicineTypeName(String medicineTypeName) 
    {
        this.medicineTypeName = medicineTypeName;
    }

    public String getMedicineTypeName() 
    {
        return medicineTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medicineTypeKey", getMedicineTypeKey())
            .append("medicineTypeName", getMedicineTypeName())
            .toString();
    }
}
